package com.jiang.Pojo;

//码云测试--我在com.jiang.Pojo下的Person类里加了个注释..
public class Person {
    public int id;
    public int age;
    public String name;


    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;

    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String toString() {
        return "Personss: id：" + id + "  age：" + age + "  name：" + name;
    }

/*

show databases
create database persont
use persont
create table person(
id int primary key auto_increment,
age int,
name varchar(20)

)
insert into person(age,name) values(21,'江涛')
insert into person(age,name) values(17,'张海')
select*from person
 */

}
